#include "ccRecenterCloudDlg.h"

ccRecenterCloudDlg::ccRecenterCloudDlg(QWidget* parent/*=0*/)
	: QDialog(parent)
{
	setupUi(this);
}

void ccRecenterCloudDlg::setCenter(double x, double y, double z)
{
	centerX->setValue(x);
	centerY->setValue(y);
	centerZ->setValue(z);
}

void ccRecenterCloudDlg::getCenter(double& x, double& y, double& z) const
{
	x = centerX->value();
	y = centerY->value();
	z = centerZ->value();
}
